package com.boot.common;

import lombok.Data;

@Data
public class Result {
    Integer code;
    String message;

    public Result(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public static Result build(Integer code, String message) {
        return new Result(code, message);
    }
}